//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.andnux.android.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;

import java.util.List;

public abstract class ListAdapter<T, VH extends BaseViewHolder> extends BaseQuickAdapter<T, VH> {

    public ListAdapter(int layoutResId, @Nullable List<T> data) {
        super(layoutResId, data);
    }

    public ListAdapter(@Nullable List<T> data) {
        super(data);
    }

    public ListAdapter(int layoutResId) {
        super(layoutResId);
    }

    public void submitList(@Nullable List<T> list) {
        if (list != null) {
            setNewData(list);
        }
    }

    @Override
    protected void convert(VH vh, T t) {

    }

    public List<T> getCurrentList() {
        return getData();
    }
}
